<?

class Smutty_Exception {

	function Smutty_Exception( $message, $wikiHelp ) {
?>
<html>
<head>
<title>Smutty Exception</title>

</head>

<body>

<h1>&lt;Smutty Exception&gt;</h1>

<p>Burp!  An error has occurred, the following message was reported:</p>

<blockquote><?= htmlspecialchars($message) ?></blockquote>

<? if ( $wikiHelp ) { ?>
	<p>You may be able to <a href="http://smutty.pu-gh.com/wiki/<?= urlencode($wikiHelp) ?>">find help
	on the wiki</a>! (<?= htmlspecialchars($wikiHelp) ?>)</p>
<? } ?>

</body>
</html>
<?
		exit();
	}

}

?>